<?php

namespace App\Models\posts;

use App\Models\base\traits\HasOwner;
use Illuminate\Database\Eloquent\Model;



/**
 * App\Models\posts\PostsComment
 *
 * @property int $id
 * @property int $user_id
 * @property int $posts_id
 * @property string $content
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \App\Models\User $user
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment owner($userId)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment wherePostsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\posts\PostsComment whereUserId($value)
 * @mixin \Eloquent
 */
class PostsComment extends Model
{
    use HasOwner;

    protected $fillable = [
        'posts_id',
        'content',
        'user_id'
    ];
}
